package common.Tables;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * class Diagnostics.
 * represents the Diagnostics table
 * @author michal
 *
 */
public class Diagnostics implements Serializable ,Table{
	
	private static final long serialVersionUID = 1L;
	private String name;	//Diagnostic's name
	private String diagID;	//Diagnostic's id
	private Set<Availability> availability = new HashSet<Availability>(0); //set of availabilities
	
	/**
	 * c-tor using fields
	 * @param firstName
	 * @param id
	 */
	public Diagnostics(String firstName, String id) {
		this.name=firstName;
		this.diagID=id;
	}
	/**
	 * default c-tor
	 */
	public Diagnostics() {
		
	}
	/*
	 * getters & setters
	 */
	public Set<Availability> getAvailability() {
		return availability;
	}
	public void setAvailability(Set<Availability> availability) {
		this.availability = availability;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDiagID() {
		return diagID;
	}
	public void setDiagID(String diagID) {
		this.diagID = diagID;
	}	
}
